package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;
import org.springframework.stereotype.Service;

/**
 * 员工业务层接口
 */

public interface EmployeeService extends IService<Employee> {

    /**
     * 添加员工
     * @param employee
     * @param employeeId
     */
    R add(Employee employee, Long employeeId);

    /**
     * 编辑员工
     * @param employee
     * @param adminId
     */
    R modifyEmp(Employee employee, Long adminId);
}